package com.xinzhidi.common.core.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinzhidi.common.annotation.Excel;
import com.xinzhidi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 用户、小区中间对象 user_plot
 *
 * @author cx
 * @date 2023-06-06
 */
@ApiModel(value = "用户、小区中间对象")
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user_plot")
public class UserPlotVo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    @Excel(name = "用户id")
    private Long userId;

    @ApiModelProperty(value = "小区id")
    @Excel(name = "小区id")
    private Long value;

    @ApiModelProperty(value = "小区名称")
    private String label;

}
